home *** CD-ROM | disk | FTP | other *** search
/ Computer Select (Limited Edition) / Computer Select.iso / pcc / v04n11 / batch1.exe / CMP.BAT < prev    next >
Encoding:
DOS Batch File  |  1991-09-17  |  460 b   |  18 lines

  1. @ECHO OFF
  2. REM This is CMP.BAT
  3. REM It uses DOS 5.0 /N= switch
  4. IF %2!==! GOTO OOPS
  5. ECHO N | COMP %1 %2 %3 %4 /N=99999 
  6. GOTO END
  7. :OOPS
  8. ECHO Enter two filenames (or sets of 
  9. ECHO files, using wildcards) after 
  10. ECHO %0 to compare them. Add (DOS 5.0
  11. ECHO only) switches if you want:
  12. ECHO.
  13. ECHO /D display differences in decimal
  14. ECHO /A display differences in ASCII
  15. ECHO /L display line number differences 
  16. ECHO /C do NON-case-sensitive compare
  17. :END
  18.